<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<link href="assets/css/style.min.css" rel="stylesheet" />
<title>json2bean</title>
</head>
<body>
	<div class="container">
		<h3 class="fade">URL to bean</h3>
		<form action="dojson2bean" 
		method="post">

			<label class="fade"> <textarea name="urls"
					placeholder="http://dboomsky.com/bbs/api/section;https://api.spotify.com/v1/artists/1vCWHaC5f2uS3yhpwWbIA6/albums?album_type=SINGLE&offset=20&limit=10"></textarea>
				
			</label> 
			<label class="fade"> <br/>
			
			</label>
			<label class="fade">
			<input type="submit" value="Get" />
			</label>
		</form>
		
		<h3 class="fade">输入返回格式为json的API的URL,生成相应Bean,调用method,doc.</h3>
		<h3 class="fade">多个URL以;号隔开</h3>
		<h3 class="fade">适用于Java语言,Android</h3>
		<h3 class="fade">包名以第一个URL的host为准</h3>
	</div>
	<script src="placeholdem.min.js"></script>
	<script>
		Placeholdem(document.querySelectorAll('[placeholder]'));

		var fadeElems = document.body.querySelectorAll('.fade'), fadeElemsLength = fadeElems.length, i = 0, interval = 40;

		function incFade() {
			if (i < fadeElemsLength) {
				fadeElems[i].className += ' fade-load';
				i++;
				setTimeout(incFade, interval);
			}
		}

		setTimeout(incFade, interval);
	</script>

</body>
</html>